﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Process.Bovespa.Financeiro.Server.Communication.Translator.DataContractToProcessEntity
{
    public class Cliente
    {
        public ProcessEntity.Cliente ToCliente(Bovespa.Cliente.Cliente.ClienteResponse from)
        {
            ProcessEntity.Cliente to = null;

            if (from != null)
            {
                to = new ProcessEntity.Cliente();

                to.Broker = from.ClienteBroker;
            }

            return to;
        }
    }
}
